package com.sojson.constant;

/**
 * 静态属性类(缓存中的Key)
 * 
 * @author liu
 * @date 2020-11-02
 */
public interface ConstantCache {

    /** 占位符前缀 */
    String PLACEHOLDER_PREFIX = "${";
    /** 占位符后缀 */
    String PLACEHOLDER_SUFFIX = "}";

    /** 缓存Key前缀 */
    String KEY_PREFIX = "so.cache.name.prefix";
    /** 缓存Key前缀占位符 */
    String KEY_P_PREFIX = PLACEHOLDER_PREFIX + KEY_PREFIX + PLACEHOLDER_SUFFIX;

    /** 项目名 */
    String WEB_NAME = "web_name";
    /** 诚意金在缓存中的Key */
    String DEPOSIT_KEY = "deposit_key:";
    /** 分佣信息在缓存中的Key */
    String BROKERAGE_KEY = "brokerage_key:";

}